package com.unlcn.ils.kas.dao.model.order;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author qichao
 * @since 2018-04-11
 */
@TableName("kas_order_otd_exception")
public class OrderOtdException extends Model<OrderOtdException> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 订单号
     */
	@TableField("sys_order_code")
	private String sysOrderCode;
    /**
     * 异常信息
     */
	@TableField("exception_msg")
	private String exceptionMsg;
    /**
     * 是否处理（0未处理1已处理）
     */
	private Integer flag;
    /**
     * 创建时间
     */
	@TableField("gmt_create")
	private Date gmtCreate;
    /**
     * 最后更新时间
     */
	@TableField("gmt_modify")
	private Date gmtModify;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getSysOrderCode() {
		return sysOrderCode;
	}

	public void setSysOrderCode(String sysOrderCode) {
		this.sysOrderCode = sysOrderCode;
	}

	public String getExceptionMsg() {
		return exceptionMsg;
	}

	public void setExceptionMsg(String exceptionMsg) {
		this.exceptionMsg = exceptionMsg;
	}

	public Integer getFlag() {
		return flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModify() {
		return gmtModify;
	}

	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "KasOrderOtdException{" +
			", id=" + id +
			", sysOrderCode=" + sysOrderCode +
			", exceptionMsg=" + exceptionMsg +
			", flag=" + flag +
			", gmtCreate=" + gmtCreate +
			", gmtModify=" + gmtModify +
			"}";
	}
}
